<html><head><title>Calculating Cell Totals in Tables</title><meta name="filename" content="text/swriter/guide/calculate_intable"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
p.P1{
}
p.P2{
}
span.T1{
font-weight:bold;}
</style></head><body>
<p class="P1"/>
<p class="Head1"><help:key-word value="calculating; in text tables" tag="kw67998_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="totals; in text tables" tag="kw67998_4" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="text tables; calculating" tag="kw67998_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="tables in text; calculating" tag="kw67998_2" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="calculate_intable" xmlns:help="http://openoffice.org/2000/help"><help:link Id="67998">Calculating Cell Totals in Tables</help:link></help:to-be-embedded></p>
<ol class="L1">
<li class="">
<p class="P2">Insert a table with multiple rows (<span class="T1">Insert - Table</span>) into a new text document.</p>
</li>
<li class="">
<p class="P2">Enter a series of numbers into a column, one number per row, leaving the last cell of the column empty.</p>
</li>
<li class="">
<p class="P2">Position the cursor in the last empty cell of the column, and click the <span class="T1">Sum</span> icon in the Table object bar.</p>
</li>
<li class="">
<p class="P2">The Formula bar appears, and a formula indicates the cells of the column to be added. The cells are separated by a vertical slash (|).</p>
</li>
<li class="">
<p class="P2">Press the Enter key to confirm, or click <span class="T1">Apply</span> in the Formula bar. The sum will appear in the last cell.</p>
</li>
</ol>
<p class="Paragraph">If you change the numbers in the table, the sum will automatically be updated. If, for example, you want to format the numbers as currency, select the cells and choose <span class="T1">Number Format</span> from the context menu. The <span class="T1">Number Format</span> dialog appears, where you can choose a new format.</p>